package com.zgxcw.monitor.model;

import java.util.Date;

public class Alarm {
    private Integer id;

    private Short serverId;

    private String tags;

    private String host;

    private String port;

    private Date createTime;

    private String dbType;

    private String alarmItem;

    private String alarmValue;

    private String level;

    private String message;

    private Byte sendMail;

    private String sendMailToList;

    private Byte sendSms;

    private String sendSmsToList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Short getServerId() {
        return serverId;
    }

    public void setServerId(Short serverId) {
        this.serverId = serverId;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host == null ? null : host.trim();
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port == null ? null : port.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType == null ? null : dbType.trim();
    }

    public String getAlarmItem() {
        return alarmItem;
    }

    public void setAlarmItem(String alarmItem) {
        this.alarmItem = alarmItem == null ? null : alarmItem.trim();
    }

    public String getAlarmValue() {
        return alarmValue;
    }

    public void setAlarmValue(String alarmValue) {
        this.alarmValue = alarmValue == null ? null : alarmValue.trim();
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public Byte getSendMail() {
        return sendMail;
    }

    public void setSendMail(Byte sendMail) {
        this.sendMail = sendMail;
    }

    public String getSendMailToList() {
        return sendMailToList;
    }

    public void setSendMailToList(String sendMailToList) {
        this.sendMailToList = sendMailToList == null ? null : sendMailToList.trim();
    }

    public Byte getSendSms() {
        return sendSms;
    }

    public void setSendSms(Byte sendSms) {
        this.sendSms = sendSms;
    }

    public String getSendSmsToList() {
        return sendSmsToList;
    }

    public void setSendSmsToList(String sendSmsToList) {
        this.sendSmsToList = sendSmsToList == null ? null : sendSmsToList.trim();
    }
}